-- GENERATED SPELL FOR [Horizon Scout Crewman] --


function spell0_8386(pUnit, Event) --@Shoot,n/a--
pUnit:FullCastSpellOnTarget(6660,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_8386', 611, 1)
end

function Sorts_8386(pUnit, Event)
local choix_sorts_8386 = math.random(0, 0)
if choix_sorts_8386 == 0 then
pUnit:RegisterEvent('spell0_8386', 1, 1)
end
end

function mob8386_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_8386', math.random(1500, 3000), 1)
end

function mob8386_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob8386_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob8386_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(8386, 1, 'mob8386_Action')
RegisterUnitEvent(8386, 2, 'mob8386_Leave')
RegisterUnitEvent(8386, 3, 'mob8386_Kill')
RegisterUnitEvent(8386, 4, 'mob8386_Die')
